package com.jiang.spring_security_singleboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

@SpringBootApplication
@MapperScan(basePackages = "com.jiang.spring_security_singleboot.mapper")
@EnableGlobalMethodSecurity(jsr250Enabled = true,prePostEnabled = true,securedEnabled = true)//全部开启
public class SpringSecuritySinglebootApplication {

	public static void main(String[] args) {

		SpringApplication.run(SpringSecuritySinglebootApplication.class, args);
	}

}
